public static interface IBNOuterSettingManager.IBNCommonSetting
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getRouteSortMode()
获取当前算路偏好
|
boolean |
isMultiRouteEnable()
获取是否开启了多路线
|
boolean |
setCarNum(Context context,
java.lang.String carNum)
设置车牌
|
void |
setMultiRouteEnable(boolean isMultiRoute)
设置是否开启多路线
|
boolean |
setRouteSortMode(int mode)
设置算路偏好
|
void |
stopLocationMonitor()
停止百度导航对系统的定位监听
|
void setMultiRouteEnable(boolean isMultiRoute)
isMultiRoute - 为true开启多路线,false关闭多路线boolean isMultiRouteEnable()
boolean setRouteSortMode(int mode)
mode - 算路偏好类型:
无效值
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_DEFAULT 默认,智能推荐
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_NOTOLL 少收费,不走高速
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_AVOID_TRAFFIC_JAM 躲避拥堵
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_CAR_NUM 使用车牌
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_DISTANCE_FIRST 距离最短,距离优先
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_TIME_FIRST 时间最短,时间优先
NeRoutePlanPreference#ROUTE_PLAN_PREFERENCE_ROAD_FIRST 大路优先,高速优先int getRouteSortMode()
boolean setCarNum(Context context,
java.lang.String carNum)
context - 上下文carNum - 完整车牌,如:"粤B66666"void stopLocationMonitor()